<?php include template("manage_header");?>

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="user">
	<div class="dashboard" id="dashboard">
		<ul><?php echo mcurrent_user(null); ?><li class="current"><a href="/manage/user/edit.php?id=<?php echo $user['id']; ?>">编辑员工</a><span></span></li></ul>
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><h2>编辑员工</h2></div>
                <div class="sect">
                    <form id="login-user-form" method="post" action="/manage/user/edit.php?id=<?php echo $user['id']; ?>"  class="validator">
                        <input type="hidden" name="id" value="<?php echo $user['id']; ?>" />
                        <div class="field">
                            <label>用户Email</label>
                            <input type="text" size="30" id="user-edit-email"  name="email"class="f-input f-hint" value="<?php echo $user['email']; ?>" />
						</div>
						<div class="field">
                            <label>用户名</label>
                            <input type="text" size="30" name="username" id="user-edit-username" class="f-input f-hint" value="<?php echo $user['username']; ?>" />
                        </div>
						<div class="field">
                            <label>真实姓名</label>
                            <input type="text" size="30" name="realname" id="user-edit-realname" class="f-input f-hint" value="<?php echo $user['realname']; ?>" />
                        </div>
                        <div class="field password">
                            <label>登录密码</label>
                            <input type="text" size="30" name="password" id="settings-password" class="f-input f-hint" />
                            <span class="hint">如果不想修改密码，请保持空白</span>
                        </div>
						
                        <div class="act">
                            <input type="submit" value="编辑" name="commit" id="user-submit" class="formbutton"/>
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<?php include template("manage_footer");?>
